package com.lsq.wuyuge.service;

import com.lsq.wuyuge.dto.ArticleInfoDTO;
import com.lsq.wuyuge.dto.ArticlePublishDTO;
import com.lsq.wuyuge.entity.Article;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 文章表 服务类
 * </p>
 *
 * @author 一声闷雷
 * @since 2025-03-15
 */
public interface IArticleService extends IService<Article> {

    /**
     * 创建文章
     * @param articleInfoDTO
     * @return
     */
    ArticleInfoDTO addArticle(ArticlePublishDTO  articleInfoDTO);
}
